package com.example.interviewassistant;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class QuestionGenerationConfig implements Serializable {
    private int questionCount;
    private String difficultyLevel;
    private List<String> selectedDomains;

    public QuestionGenerationConfig() {
        // 默认值
        questionCount = 10;
        difficultyLevel = "中等";
        selectedDomains = new ArrayList<>();
    }

    public int getQuestionCount() {
        return questionCount;
    }

    public void setQuestionCount(int questionCount) {
        this.questionCount = questionCount;
    }

    public String getDifficultyLevel() {
        return difficultyLevel;
    }
    
    /**
     * 获取难度级别，与getDifficultyLevel()方法相同
     * @return 难度级别
     */
    public String getDifficulty() {
        return difficultyLevel;
    }

    public void setDifficultyLevel(String difficultyLevel) {
        this.difficultyLevel = difficultyLevel;
    }

    public List<String> getSelectedDomains() {
        return selectedDomains;
    }

    public void setSelectedDomains(List<String> selectedDomains) {
        this.selectedDomains = selectedDomains;
    }
} 